package com.color.admin.system.entity.vo.dept;

import java.util.ArrayList;
import java.util.List;

/**
 * @author HaiQiu
 * @date 2022/1/6
 * 树形结构递归Vo模型
 */
public class DeptTreeVo extends DeptSmallVo{

    private String parentId;

    List<DeptSmallVo> children = new ArrayList<>();

    public List<DeptSmallVo> getChildren() {
        return children;
    }

    public void setChildren(List<DeptSmallVo> children) {
        this.children = children;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
